package com.aaa.stock.service.medic;

import com.aaa.entity.Medicines;
import com.aaa.entity.Producer;
import com.aaa.stock.vo.MedicinesVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface StoMediService extends IService<Medicines> {
    Result<IPage<Medicines>> findByListtion(Integer currentPage, Integer pageSize, MedicinesVo medicinesVo);

    Result<Map<String, Object>> deleteMedic(Long medicinesIds);

    Page<Medicines> getMedicAll(MedicinesVo medicinesVo);

    Boolean medicinesInventory(String num, String itemName);
}

